// 导入路由
const express = require('express')
// 创建路由对象
const router = express.Router()
// 挂在具体路由
router.get('/user/list', function (req, res) {
    res.send('get user list')
})

router.post('/user/add', function (req, res) {
    res.send('add new user ')
})

// 导出路由

module.exports = router